﻿cmake_minimum_required(VERSION 3.5)

project(MyProject)

set(CMAKE_CXX_STANDARD 17)

# 添加调试选项
message(STATUS "CMAKE_BUILD_TYPE:${CMAKE_BUILD_TYPE}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -fpermissive -fPIC -rdynamic -Wall -std=c++20")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -O0 -Wall -g -ggdb")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O2 -Wall")


set(CMAKE_DEBUG_POSTFIX "_d")
set(CMAKE_RELEASE_POSTFIX "_r")

# add_subdirectory(bufring)

# add_subdirectory(uv_test)
# add_subdirectory(memory_order_test)
# add_subdirectory(openssl_study)
# add_subdirectory(boostStudy)
# add_subdirectory(lockfree_ring_queue)
# add_subdirectory(lockfree_ring_queue_bf)
# add_subdirectory(lockfree_ring_queue_fz)
# add_subdirectory(lockfree_ring_queue_cross_process)
# add_subdirectory(leetcode_test)
# add_subdirectory(components_test)
add_subdirectory(shm_0bArr)




